package com.bean;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.time.LocalDate;

@Data
@Entity
@Table( name = "logintoken_source")
public class LogintokenSource {

    @Id
    private String id;
    private String name;//应用的名称  或者链接
    private String description;//应用或者链接的描述
    private String imginfo;//应用或者链接的图片
    private String link;//  链接
    private LocalDate createdate;
    private LocalDate updatedate;

    private String userid;
    private String username;

    @Transient
    private LogintokenContent logintokenContent;


}
